package com.lzy.system.organization.vo;

import com.lzy.system.organization.entity.SysRole;
import com.lzy.system.organization.entity.SysUser;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 用户
 * </p>
 *
 * @author lcc
 * @since 2022-08-13
 */
@ApiModel(value = "用户", description = "")
public class SysUserVo extends SysUser implements Serializable {

    private static final long serialVersionUID = -6362461974953341476L;


    public List<SysRole> getRoles() {
        return roles;
    }

    public void setRoles(List<SysRole> roles) {
        this.roles = roles;
    }

    private List<SysRole> roles = new ArrayList<>();
}
